package com.hbnu.collections;

/**
 * @author kittychen
 * @since 2025-10-11 10:13
 */
public class ObjectArrayTest {

    public static void main(String[] args) {
        ObjectArray array = new ObjectArray(5);

        array.addData(0, "kittychen");
        array.addData(1, 1);

        String data = (String) array.getData(0);
        String data1 = (String) array.getData(1);

        System.out.println(data);
        System.out.println(data1);
    }
}
